package com.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.entity.ResponseResult;
import com.common.domain.entity.VisitRecord;
import com.common.domain.vo.VisitRecordVo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;

/**
* @author pc
* @description 针对表【sys_visit_record】的数据库操作Service
* @createDate 2023-11-02 21:08:46
*/
public interface VisitRecordService extends IService<VisitRecord> {

    void insetData(VisitRecord visitRecord);

    ResponseResult getVisitRecode(Long id);

    VisitRecordVo getUserVisitRecode(Long id);

    ResponseResult downloadPdf(InputStream inputStream, VisitRecordVo visitRecordVo, HttpServletResponse response) throws IOException;
}
